Book Contents

controlListSelector object example

The following example shows the controlListSelector object:

<controlListSelector name="ControlListSelector1" height="114" width="100" left="11" top="2" visible="true" wallpaper="false" isReferenceObject="false" backColor="navy" borderStyle="raisedInset" borderUsesBackColor="true" borderWidth="8" selectionForeColor="navy" selectionBackColor="white" description="Control List Selector 1" borderColor="navy" patternColor="white" patternStyle="none" keyNavigation="true" blink="false" wrapAround="true" writeOnEnter="true" enterKeyControlDelay="400" enterKeyHandshakeTime="4" enterKeyHoldTime="250" handshakeReset="nonZeroValue" fontFamily="Arial" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" captionTruncate="word" setLastStateId="5">

<states>

<state stateId="0" value="0">

<caption caption="Control" color="white" backColor="navy" backStyle="transparent" alignment="left" blink="false" />

</state>

<state stateId="1" value="1">

<caption caption="List" color="white" backColor="navy" backStyle="transparent" alignment="left" blink="false" />

</state>

<state stateId="2" value="2">

<caption caption="Selector" color="white" backColor="navy" backStyle="transparent" alignment="left" blink="false" />

</state>

<state stateId="3" value="3">

<caption caption="Three" color="white" backColor="navy" backStyle="transparent" alignment="left" blink="false" />

</state>

<state stateId="4" value="4">

<caption caption="Fore!" color="white" backColor="navy" backStyle="transparent" alignment="left" blink="false" />

</state>

</states>

<animations>

<animateVisibility expression="TestTag4" expressionTrueState="visible" />

</animations>

<connections>

<connection name="Value" expression="TagS2" />

<connection name="Enter" expression="TestS2" />

<connection name="Enter Handshake" expression="n7" />

</connections>

</controlListSelector>

See also

Advanced objects: controlListSelector object

controlListSelector object attributes and elements